﻿using System;
using System.Collections.Generic;

namespace YaAppoint.Rules
{
    /// <summary>
    /// 创建RuleTemplateDto
    /// </summary>
    public class RuleTemplateCreateDto
    {
        public Guid? Id { get; set; }

        public bool IsDirectory { get; set; } = false;

        public Guid? ParentId { get; set; }

        public List<RuleTemplateDto>? Children { get; set; }

        public string Name { get; set; }

        public string? TypeName { get; set; }


        public string? Script { get; set; }

        public string? Description { get; set; }

        public long Order = 0;

        public bool IsActivce { get; set; } = true;
    }
}
